<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/jsp/head.jsp"%>
<%--<script src="<%=basePath%>js/jquery-1.12.4.js"></script>--%>
  <div class="right">
      <div class="location">
          <strong>你现在所在的位置是:</strong>
          <span>供应商管理页面 >> 供应商修改页</span>
      </div>
      <div class="providerAdd">
          <form id="providerForm" name="providerForm" method="post" action="supplierUpdate">
              <!--div的class 为error是验证错误，ok是验证成功-->
              <input type="text" name="id" value="${supplier.id}" hidden/>
              <div class="">
                  <label for="proCode">供应商编码：</label>
                  <input type="text" name="supCode" id="proCode" value="${supplier.id}" readonly="readonly">
              </div>
              <div>
                  <label for="proName">供应商名称：</label>
                 <input type="text" name="supName" id="proName" value="${supplier.supCode}">
			<font color="red"></font>
              </div>
              
              <div>
                  <label for="proContact">联系人：</label>
                  <input type="text" name="supContact" id="proContact" value="${supplier.supContact}">
			<font color="red"></font>
              </div>
              
              <div>
                  <label for="proPhone">联系电话：</label>
                  <input type="text" name="supPhone" id="proPhone" value="${supplier.supPhone}">
			<font color="red"></font>
              </div>
              
              <div>
                  <label for="proAddress">联系地址：</label>
                  <input type="text" name="supAddress" id="proAddress" value="${supplier.supAddress}">
              </div>
              
              <div>
                  <label for="proFax">传真：</label>
                  <input type="text" name="supFax" id="proFax" value="${supplier.supFax}">
              </div>
              
              <div>
                  <label for="proDesc">描述：</label>
                  <input type="text" name="supDesc" id="proDesc" value="${supplier.supDesc}">
              </div>
              <div class="providerAddBtn">
                  <input type="submit" name="save" id="save" value="保存">
				  <input type="button" id="back" name="back" value="返回" onclick="fanhui()" >
              </div>
          </form>
      </div>
  </div>
</section>



<%@include file="/common/foot.jsp" %>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/providermodify.js"></script>

<%--<script type="text/javascript">--%>
<%--    $("#back").click(function (){--%>
<%--        alert("6767")--%>
<%--        window.location.href("<%=basePath%>/getSupplier")--%>
<%--    })--%>
<%--    function fanhui(){--%>
<%--        window.location.href("<%=basePath%>/getSupplier")--%>
<%--    }--%>
<%--</script>--%>